.upload-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f5f5f5;
}

.upload-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.upload-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.upload-form-panel {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.form-header h2 {
    margin: 0 auto;
    color: #333;
}

.back-button {
    background: none;
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    position: absolute;
    left: 0;
}

.back-button:hover {
    background-color: #f0f0f0;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: 500;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.tags-input-container {
    display: flex;
    gap: 10px;
}

.tags-input-container input {
    flex: 1;
}

.add-tag-button {
    padding: 8px 12px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.add-tag-button:hover {
    background-color: #e0e0e0;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.tag {
    background-color: #e6f7ff;
    border: 1px solid #91d5ff;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.remove-tag {
    background: none;
    border: none;
    cursor: pointer;
    color: #ff4d4f;
    font-size: 14px;
    padding: 0;
}

.submit-button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.submit-button {
    padding: 10px 30px;
    background-color: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #40a9ff;
}

.submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.upload-message {
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

.upload-message.success {
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
}

.upload-message.error {
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
    color: #ff4d4f;
}

.file-selected {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}